package ast;

import visitor.*;

public class Asignacion extends AbstractSentencia
{
	public Asignacion(Expresion destino, Expresion origen){
		this.destino = destino;
		this.origen = origen;
	}
	public Asignacion(Object destino, Object origen){
		this.destino = (Expresion)destino;
		this.origen = (Expresion)origen;
	}


	public Object accept(Visitor v, Object param) { 
		return v.visit(this, param);
	}

	public Expresion destino;
	public Expresion origen;
}
